package com.lufei.message_system.Data.QuestionVD;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "问题查询DTO")
public class QuestionQueryDTO {

    @Schema(description = "问题内容关键词", example = "活动")
    private String contentKeyword;

    @Schema(description = "维度", example = "EI",
            allowableValues = {"EI", "SN", "TF", "JP"})
    private String dimension;

    @Schema(description = "选项A关键词", example = "派对")
    private String optionAKeyword;

    @Schema(description = "选项B关键词", example = "看书")
    private String optionBKeyword;

    @Schema(description = "创建时间起始范围", example = "2023-01-01T00:00:00")
    private String createTimeStart;

    @Schema(description = "创建时间结束范围", example = "2023-12-31T23:59:59")
    private String createTimeEnd;

    @Schema(description = "排序字段", example = "createTime",
            allowableValues = {"createTime", "dimension"})
    private String sortField;

    @Schema(description = "排序方式", example = "desc",
            allowableValues = {"asc", "desc"})
    private String sortOrder;
}